GETMAIL

Version 3.00

This program will to enable you to automate the collection of Email from CompuServe using the CompuServe supplied program WinCIM. This version supports the English, French and German versions of WinCIM.

It will invoke WinCIM from the desktop and collect mail.

It can pick up mail at specific times.

It can be made to always use a specific user id when it gets mail.

Shut down WinCIM when finished if you wish.

Shareware

This program is SHAREWARE. The cost is ten U.S. dollars.

To Register,

GO SWREG     on CompuServe and Register ID number 4087

ten  dollars will be debited from your CompuServe account.

On registration you will be sent instructions on how to remove the Shareware screen produced on exit.

or

Send ten dollars in cash or cheque to

Colin Lucking

87 Brixton Hill Court

   Brixton Hill

   London

   SW2 1QY

   United Kingdom

If you have any comments or questions then please E-Mail me

100023,757

How to use GetMail

The program will run in two modes.

1.	Timed Collection

2.	Collect Now

Timed Collection

This mode enables you to enter a series of times and days of the week.

GetMail will invoke WinCIM and pick up your mail at these times.

Set-up

The program GETMSTUP enables you to set the various times you want to pick up you mail. There are 5 possible times that you can set, and you can decide which days of the week you want those times set for. There is also a check box that will disable all pre set collection times and put the program into 'Collect Now' Mode.

Enter times in the format hh mm using the 24 hour clock e.g.,

07 55   put the 07 in the left hand box and the 55 in the right.

17 30

Collect Now

This mode simply invokes WinCIM and picks up your mail then shuts itself down. Its function in this mode is just to replace keystrokes, or it can be invoked by another program launcher like BarClock. One double-click and it's away. The mode is set permanently from the Set-up program, or temporarily by running with the option 'N' after the program name in the Windows properties box.

E.g. "C:\CSERVE\WINCIM\GETMAIL.EXE N".

INI File Settings

There is a Visual Basic program available in the WinCIM support forum call GETMINI.ZIP. This program will enable you to set the various additional settings in your INI file. This program requires the file VBRUN300.DLL which is available in numerous places on CompuServe. GetMail itself is not written in Visual Basic and does not need this file. If you prefer you can alter the settings yourself in Notepad. As detailed below.

Session Settings

GetMail can reset the default session setting to one that it will always use for mail. To do this, edit the GETMAIL.INI file in your windows directory. Add the Following two lines.

[Active Session]

Active=xxxxxxxxxxxxx

Where xxxxxxxxxxxxx is the session id. 	(Session Id is the Text string in the list box labelled current in the WinCIM session settings dialogue box)

The easiest way to do this is in an editor to cut and paste from your WINCIM.INI file. As follows:

1.	Go into WinCIM and set the current session to the one that you want GetMail to use.

2.	Exit WinCIM and edit your WINCIM.INI file.

3.	Find the [ACTIVE SESSION] Section in the WINCIM.INI and copy the above two lines from it to the clipboard.

4.	Paste those lines onto the end of your GETMAIL.INI file.

GetMail will reset your session settings to those specified before it starts up WinCIM. NOTE if WinCIM is already running then GetMail cannot change the default session setting. WinCIM must be closed if the settings are to be changed.  Also it does not reset the settings back to what they were when it has finished.

If the [Active Session] section is not included in the GETMAIL.INI file then GetMail will use whatever Session is currently set in WinCIM.

Switches

There are two switches which you can set to alter the behaviour of GetMail

ShutdownWhenDone and StayOpenIfNewMail. These two switches are in the [GetMail] section of the GETMAIL.INI file.  If ShutdownWhenDone is set to -1 then after GetMail has picked up your mail it will shut down WinCIM.

If StayOpenIfNewMail is set to -1 and ShutDownWhenDone is also set to -1 then WinCIM will not shut down if there was new mail for you.

e.g.

[GetMail]

ShutdownWhenDone=-1

StayOpenIfNewMail=-1

General

Run it from the directory in which you keep WINCIM.EXE and

WINCIM.INI.

If this is not the CompuServe default (ie:not \CSERVE\WINCIM)

then you will need to add two  lines to your GETMAIL.INI file in your

WINDOWS directory containing the following.

[GetMail]

WinCIMPath='Path to your WinCIM directory'\WINCIM.INI     (Max. 50 characters)

e.g.

[GetMail]

WinCimPath=\YOURCIS\WINCIM\WINCIM.INI

Common Questions

"WinExec failed - error code=2" message

Probably means that you are not running GETMAIL.EXE

from your WINCIM.EXE directory.

"Can't find WINCIM.INI" message

Could mean that you have exceeded the 50 character limit on

WinCimPath in GETMAIL.INI

If you have any comments or questions then please E-Mail me

Colin Lucking

100023,757